<%#

This file is part of Diligence

Copyright 2011-2012 Three Crickets LLC.

The contents of this file are subject to the terms of the LGPL version 3.0:
http://www.gnu.org/copyleft/lesser.html

Alternatively, you can obtain a royalty free commercial license with less
limitations, transferable or non-transferable, directly from Three Crickets
at http://threecrickets.com/

%><%

document.executeOnce('/diligence/feature/wiki/')

var pages = Diligence.Wiki.getPages()
for (var p in pages) {
	var page = pages[p]
	var name = page.getName()
	var link = conversation.pathToBase + (name == 'home' ? '' : '/page/' + encodeURIComponent(name) + '/')
%>
<div><a href="<%= link %>"><%= name %></a></div>
<%
}

%>
